package com.itheima.day05;

public class DemoPr {
    public static void main(String[] args) {
    getMarry("没有","没有",00);

        System.out.println("-------------");

    printOddNumber(10,20);
    }
    public static void getMarry(String house,String car,int money){
        System.out.println(house+","+car+","+money);
        System.out.println("结束");
    }

    public static void printOddNumber(int n ,int m) {
        System.out.println(n+"到"+m+"之间的奇数为:");
        for (int i = n; i <= m ; i++) {
             if (i % 2 ==1){
                System.out.println(i);
            }
        }
     }
}
